<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('partials.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <!-- contact begin-->
    <div class="address-area">
        <div class="container">
            <div class="tsk-contact-info">
                <div class="row">
                    <div class="col-xl-4 col-lg-4 col-md-6">
                        <div class="contact-info-item">
                            <div class="icon-bar">
                                <i class="fas fa-map-marker-alt"></i>
                            </div>
                            <div class="info-details">
                                <h5><?php echo app('translator')->getFromJson('Address'); ?></h5>
                                <p><?php echo wordwrap($basic->address,40,"<br>\n",TRUE); ?></p>
                            </div>
                        </div>
                    </div>

                    <div class="col-xl-4 col-lg-4 col-md-6">
                        <div class="contact-info-item">
                            <div class="icon-bar">
                                <i class="fas fa-envelope"></i>
                            </div>
                            <div class="info-details">
                                <h5><?php echo app('translator')->getFromJson('Email'); ?></h5>
                                <a class="d-block" href="javascript:void(0)">
                                    <?php echo e($basic->email); ?>

                                </a>
                            </div>
                        </div>
                    </div>

                    <div class="col-xl-4 col-lg-4 col-md-6">
                        <div class="contact-info-item">
                            <div class="icon-bar">
                                <i class="fas fa-mobile-alt"></i>
                            </div>
                            <div class="info-details">
                                <h5><?php echo app('translator')->getFromJson('Phone'); ?></h5>
                                <a class="d-block" href="javascript:void(0)"><?php echo e($basic->phone); ?></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="contact pt-120px">

        <div class="container">
            <div class="row">
                <div class="col-xl-12 col-lg-12">
                    <form class="contact-form" action="<?php echo e(route('contact.submit')); ?>" method="post">
                        <?php echo csrf_field(); ?>
                        <div class="row justify-content-center">
                            <div class="col-xl-8 col-lg-8">
                                <div class="section-title text-center">
                                    <h2><?php echo app('translator')->getFromJson('Contact Us For Support'); ?></h2>
                                </div>
                            </div>

                            <div class="col-xl-12 col-lg-12">
                                <?php if($errors->any()): ?>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                                        <div class="alert alert-danger alert-dismissible  show" role="alert">
                                             <?php echo e(__($error)); ?>

                                        </div>

                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php endif; ?>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xl-6 col-lg-6">
                                <div class="form-group">
                                    <label for="InputName"><?php echo app('translator')->getFromJson('Name'); ?><span class="requred">*</span></label>
                                    <input type="text" name="name" value="<?php echo e(old('name')); ?>" class="form-control" id="InputName" placeholder="<?php echo app('translator')->getFromJson('Enter Your Name'); ?>"  required>
                                </div>
                            </div>
                            <div class="col-xl-6 col-lg-6">
                                <div class="form-group">
                                    <label for="InputMail"><?php echo app('translator')->getFromJson('E-mail'); ?><span class="requred">*</span></label>
                                    <input type="email" name="email" value="<?php echo e(old('email')); ?>" class="form-control" id="InputMail" placeholder="<?php echo app('translator')->getFromJson('Enter Your E-mail Address'); ?>" required>
                                </div>
                            </div>
                            <div class="col-xl-6 col-lg-6">
                                <div class="form-group">
                                    <label for="InputPhone"><?php echo app('translator')->getFromJson('Phone'); ?><span class="requred">*</span></label>
                                    <input type="text" name="phone" value="<?php echo e(old('phone')); ?>" class="form-control" id="InputPhone" placeholder="<?php echo app('translator')->getFromJson('Enter Your Phone Number'); ?>"
                                           required>
                                </div>
                            </div>
                            <div class="col-xl-6 col-lg-6">
                                <div class="form-group">
                                    <label for="InputSubject"><?php echo app('translator')->getFromJson('Subject'); ?><span class="requred">*</span></label>
                                    <input type="text" name="subject" value="<?php echo e(old('subject')); ?>" class="form-control" id="InputSubject" placeholder="<?php echo app('translator')->getFromJson('Enter Your Subject'); ?>" required>
                                </div>
                            </div>
                            <div class="col-xl-12 col-lg-12">
                                <div class="form-group">
                                    <label for="exampleFormControlTextarea1"><?php echo app('translator')->getFromJson('Message'); ?><span class="requred">*</span></label>
                                    <textarea name="message" class="form-control" id="exampleFormControlTextarea1" rows="3" placeholder="<?php echo app('translator')->getFromJson('Enter Your Message'); ?>"
                                              required><?php echo e(old('message')); ?></textarea>
                                </div>
                            </div>
                            <div class="col-xl-12 col-lg-12">
                                <button type="submit"><?php echo app('translator')->getFromJson('Send Now'); ?></button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>

        <div class="google-map" id="map"  data-latitude="<?php echo e($basic->latitude); ?>" data-longitude="<?php echo e($basic->longitude); ?>"></div>

    </div>
    <!-- contact end -->



<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
    <!--    map js -->
    <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBqFuLx8S7A8eianoUhkYMeXpGPvsXp1NM&callback" async defer></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>